#ifndef _MODBUS_PROTO_H_
#define _MODBUS_PROTO_H_

#define MODBUS_CMD_READ_REG   0x03
#define MODBUS_CMD_WRITE_REG  0x06
#define MODBUS_CMD_WRITE_MULTI_REG  0x10

#define EXCEPTION_FUNC_CODE_READ  0x83
#define EXCEPTION_FUNC_CODE_WRITE  0x86
#define EXCEPTION_FUNC_CODE_W_MULTI  0x90


#endif
